﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration;
using CurriculasEntities;

namespace CurriculasDAO
{
    public class CarreraMap : EntityTypeConfiguration<CarreraBE>
    {
        public CarreraMap()
            : base()
        {
            ToTable("TB_GC_02_Carrera", "dbo");
            HasKey(s => s.codCarrera);
            Property(s => s.codCarrera)
                .HasColumnName("codCarrera")
                .IsRequired();
        }
    }
}
